﻿using System;
using System.Collections.Generic;
using IrrlichtLime;
using IrrlichtLime.Core;
using Timed;
using IrrlichtLime.Scene;
using IrrlichtLime.Video;

namespace Iso
{
    public class UISprite
    {
        public AnimatedSprite2D sprite;
        public Recti dest, source;

        public UISprite(string name, Recti dest)
        {
            this.sprite = new AnimatedSprite2D(name, dest);
            this.dest = dest;
        }

        public void Draw()
        {
            sprite.Draw();
        }

        public void Delete()
        {
            sprite.Remove();
        }
    }
}
